package com.loong.news.common.forehead.result;

import com.loong.common.validator.group.CommonInsert;
import lombok.*;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @Description:
 * @Author: 刘群
 * @Date: 2020/10/18 15:50
 */
@Builder
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class NewsCommentResult {
    /**
     * id
     */
    private Long id;
    /**
     * 新闻id
     */
    private Long newsId;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 评论时间
     */
    private Date commentTime;
    /**
     * 点赞数
     */
    private Long likeNum;
    /**
     * 举报数
     */
    private Long unlikeNum;
    /**
     * 父评论id
     */
    private Long parentId;
    /**
     * 评论内容
     */
    private String commentContent;
    /**
     * 评论结果的集合
     */
    private List<NewsCommentResult> childList;
}
